<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<header th:fragment="h">
    <nav>
        <ul>
            <li><a th:href="@{/a}">首页</a></li>
            <li><a th:href="@{/b}">关于</a></li>
        </ul>
    </nav>
</header>
</body>
</html>